package duck.util;

import java.util.Collection;

import javax.servlet.http.HttpServletRequest;

import log4j.BaseLog;

public class Profile extends BaseLog {

	/**
	 * @param args
	 */
	public static void profile (HttpServletRequest request,String key,Collection value){
		Collection c=(Collection) request.getAttribute(key);
		if(c==null){
				request.setAttribute(key, value);
			}
	}
	public static void profile (HttpServletRequest request,String key,Object value){
		Object o=(Object)request.getAttribute(key);
		if(o==null){
			request.setAttribute(key, value);
		}
	}

}
